//
//  CJZYXCell.m
//  MDDNew
//
//  Created by 孙昊坤 on 15/10/29.
//  Copyright © 2015年 heqing. All rights reserved.
//

#import "CJZYXCell.h"

#import "UIView+WLFrame.h"

@implementation CJZYXCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _tuPian = [[UIImageView alloc] initWithFrame:CGRectMake(5, 5, 120, 90)];
//        _tuPian.backgroundColor = [UIColor redColor];
        [self addSubview:_tuPian];
        
        _biaoTi = [[UILabel alloc] initWithFrame:CGRectMake(_tuPian.right + 5, _tuPian.top, 270, 50)];
        _biaoTi.font = [UIFont systemFontOfSize:15];
        _biaoTi.numberOfLines = 0;
//        _biaoTi.backgroundColor = [UIColor yellowColor];
        [self addSubview:_biaoTi];
        
        _zheKou = [[UILabel alloc] initWithFrame:CGRectMake(_biaoTi.left, _biaoTi.bottom, 100, 40)];
//        _zheKou.backgroundColor = [UIColor blueColor];
        [self addSubview:_zheKou];
        
        _jiaGe = [[UILabel alloc] initWithFrame:CGRectMake(_zheKou.right, _zheKou.top, 170, 40)];
//        _jiaGe.backgroundColor = [UIColor greenColor];
        [self addSubview:_jiaGe];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
